﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NumCaptcha.ascx.cs" Inherits="Modules_Captcha_NumCaptcha" %>
<table border="0" align="left" style="padding-left: 10px;">
    <tr>
        <td><font style="font-size: 13px;">Câu  hỏi ngẫu nhiên: </font></td>
        <td>
            <asp:Image ID="Image1" runat="server" ImageUrl="captcha.jpg" EnableViewState="false" /></td>
        <td valign="middle">&nbsp;&nbsp; =&nbsp;</td>
        <td valign="middle">
            <asp:TextBox ID="TextBoxNo" runat="server" Width="25px" MaxLength="2" CssClass="Answer"></asp:TextBox>
            <asp:RequiredFieldValidator ID="ReqNo" runat="server" ControlToValidate="TextBoxNo" Display="Dynamic"
                SetFocusOnError="true" Font-Size="11px" ErrorMessage="*"></asp:RequiredFieldValidator><font style="font-size: 13px;">(Nhập số)</font>
            <asp:RegularExpressionValidator ID="RegxNo" ControlToValidate="TextBoxNo" SetFocusOnError="true" Font-Size="11px" Font-Names="Arial" Display="Dynamic"
                ValidationExpression="[0-9]{1,2}" runat="server" ErrorMessage="Nhập số"></asp:RegularExpressionValidator>
            &nbsp;<asp:Label ID="lblMessage" ForeColor="Red" Font-Size="11px" Font-Names="Arial" Font-Bold="true" runat="server"></asp:Label>
        </td>
    </tr>
</table>
